package com.syh.jn.scm.domain.supplier.event.finance;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.supplier.entity.finance.OrderExpensesBill;

public class OrderExpensesBillEvent extends DomainEvent<OrderExpensesBill> {

  //订单费用表创建
  public static final String  ORDER_EXPENSES_BILL_CREATED = "orderExpensesBillCreated";
  public static OrderExpensesBillEvent buildOrderExpensesBillCreatedEvent(Object[] values) {
    OrderExpensesBillEvent orderExpensesBillEvent = new OrderExpensesBillEvent();
    orderExpensesBillEvent.eventName = ORDER_EXPENSES_BILL_CREATED;
    orderExpensesBillEvent.values = values;
    return orderExpensesBillEvent;
  }
  //订单费用表修改
  public static final String  ORDER_EXPENSES_BILL_UPDATED = "orderExpensesBillUpdated";
  public static OrderExpensesBillEvent buildOrderExpensesBillUpdatedEvent(Object[] values) {
    OrderExpensesBillEvent orderExpensesBillEvent = new OrderExpensesBillEvent();
    orderExpensesBillEvent.eventName = ORDER_EXPENSES_BILL_UPDATED;
    orderExpensesBillEvent.values = values;
    return orderExpensesBillEvent;
  }

  //订单费用表删除
  public static final String  ORDER_EXPENSES_BILL_DELETED = "orderExpensesBillDeleted";
  public static OrderExpensesBillEvent buildOrderExpensesBillDeletedEvent(Object[] values) {
    OrderExpensesBillEvent orderExpensesBillEvent = new OrderExpensesBillEvent();
    orderExpensesBillEvent.eventName = ORDER_EXPENSES_BILL_DELETED;
    orderExpensesBillEvent.values = values;
    return orderExpensesBillEvent;
  }

  //订单费用表创建确认
  public static final String  ORDER_EXPENSES_BILL_CONFIRM = "orderExpensesBillConfirm";
  public static OrderExpensesBillEvent buildOrderExpensesBillConfirmEvent(Object[] values) {
    OrderExpensesBillEvent orderExpensesBillEvent = new OrderExpensesBillEvent();
    orderExpensesBillEvent.eventName = ORDER_EXPENSES_BILL_CONFIRM;
    orderExpensesBillEvent.values = values;
    return orderExpensesBillEvent;
  }

  //订单费用表取消确认
  public static final String  ORDER_EXPENSES_BILL_CANCEL = "orderExpensesBillCancel";
  public static OrderExpensesBillEvent buildOrderExpensesBillCancelEvent(Object[] values) {
    OrderExpensesBillEvent orderExpensesBillEvent = new OrderExpensesBillEvent();
    orderExpensesBillEvent.eventName = ORDER_EXPENSES_BILL_CANCEL;
    orderExpensesBillEvent.values = values;
    return orderExpensesBillEvent;
  }
}
